<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../include/top.jsp"%>

<link href="${baseURL}/shop/my/style.css" rel="stylesheet"
	type="text/css" />
<script src="${baseURL}/js/viewOrder.js"></script>

<div class="m-section">

	<div class="m-main wholePage">

		<div class="m-main-Box mc-noborder">

			<div id="J_OrderMenu">
				<div class="mc-contBox withBorder box-mp">
					<div class="order-box">
						<span class="m-r-15">工单号：${order.orderCode}</span> <br/><span
							class="m-r-15">工单状态：<span style="color: red;"> <c:if
									test="${order.status==0}">未完成</c:if> <c:if
									test="${order.status==3}">已完成</c:if> <c:if
									test="${order.status==4}">已取消</c:if>
						</span></span>
							</div><br/>
					<div class="order" style="display: block;">
						<h3>工单信息：</h3>
						<table border="0" class="mc-table sellerInfoBox">
							<tbody>
								<tr>
									<th>下单时间：</th>
									<td><fmt:formatDate value="${order.createTime}"
											pattern="yyyy-MM-dd HH:mm:ss" /></td>
									<th>业主地址：</th>
									<td>${order.address}</td>
								</tr>
								<tr>
									<th>服务名称：</th>
									<td>${productList[0].productName}</td>
									<th>服务价格：</th>
									<td>${productList[0].sellPrice}</td>
								</tr>
								<tr>
									<th>服务站：</th>
									<td>${productList[0].companyName}</td>
									<th>&nbsp;</th>
									<td>&nbsp;</td>
								</tr>
							</tbody>
						</table>
						
						<h3>申请服务说明：</h3>
						&nbsp;&nbsp;&nbsp;&nbsp;${order.remark}
						
						<h3>提供服务说明：</h3>
						&nbsp;&nbsp;&nbsp;&nbsp;${order.serviceRemark}
						
						<h3>评价内容：</h3>
						<c:if test="${not empty comment}">
							<img src="${baseURL}/images/star${comment.score}.jpg" border="0" width="77" height="16" /><br/>
							${comment.content}
						</c:if>

					</div>

				</div>

			</div>
		</div>
		<!--m-main-Box-->
	</div>
</div>


<%@ include file="../include/bottom.jsp"%>